package com.csxy.lxl.util;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class ConstantVodUtils implements InitializingBean {

    @Value("${aliyun.oss.file.keyid}")
    private String accesskeyId;
    @Value("${aliyun.oss.file.keysecret}")
    private String accessKeySecret;
    public static String ACCESSKEY_ID;
    public static String ACCESSKEY_SECRET;
    @Override
    public void afterPropertiesSet() throws Exception {
        ACCESSKEY_ID = this.accesskeyId;
        ACCESSKEY_SECRET = this.accessKeySecret;

    }
}
